<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>api_shim.core.tcp_support</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;api_shim ::
        <a href="api_shim.core-module.html">Package&nbsp;core</a> ::
        Module&nbsp;tcp_support
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="api_shim.core.tcp_support-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="api_shim.core.tcp_support-module.html">Module api_shim.core.tcp_support</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># Copyright 2011-2012 the original author or authors.</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># You may obtain a copy of the License at</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#      http://www.apache.org/licenses/LICENSE-2.0</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Unless required by applicable law or agreed to in writing, software</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># See the License for the specific language governing permissions and</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-docstring">"Scott Horn"</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable api_shim.core.buffer.__email__=api_shim.core.buffer-module.html#__email__,Variable api_shim.core.event_bus.__email__=api_shim.core.event_bus-module.html#__email__,Variable api_shim.core.file_system.__email__=api_shim.core.file_system-module.html#__email__,Variable api_shim.core.handlers.__email__=api_shim.core.handlers-module.html#__email__,Variable api_shim.core.http.__email__=api_shim.core.http-module.html#__email__,Variable api_shim.core.javautils.__email__=api_shim.core.javautils-module.html#__email__,Variable api_shim.core.net.__email__=api_shim.core.net-module.html#__email__,Variable api_shim.core.parsetools.__email__=api_shim.core.parsetools-module.html#__email__,Variable api_shim.core.shared_data.__email__=api_shim.core.shared_data-module.html#__email__,Variable api_shim.core.sock_js.__email__=api_shim.core.sock_js-module.html#__email__,Variable api_shim.core.ssl_support.__email__=api_shim.core.ssl_support-module.html#__email__,Variable api_shim.core.streams.__email__=api_shim.core.streams-module.html#__email__,Variable api_shim.core.tcp_support.__email__=api_shim.core.tcp_support-module.html#__email__,Variable api_shim.vertx.__email__=api_shim.vertx-module.html#__email__"><a title="api_shim.core.buffer.__email__
api_shim.core.event_bus.__email__
api_shim.core.file_system.__email__
api_shim.core.handlers.__email__
api_shim.core.http.__email__
api_shim.core.javautils.__email__
api_shim.core.net.__email__
api_shim.core.parsetools.__email__
api_shim.core.shared_data.__email__
api_shim.core.sock_js.__email__
api_shim.core.ssl_support.__email__
api_shim.core.streams.__email__
api_shim.core.tcp_support.__email__
api_shim.vertx.__email__" class="py-name" href="#" onclick="return doclink('link-0', '__email__', 'link-0');">__email__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"scott@hornmicro.com"</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt id="link-1" class="py-name" targets="Variable api_shim.core.buffer.__credits__=api_shim.core.buffer-module.html#__credits__,Variable api_shim.core.event_bus.__credits__=api_shim.core.event_bus-module.html#__credits__,Variable api_shim.core.file_system.__credits__=api_shim.core.file_system-module.html#__credits__,Variable api_shim.core.handlers.__credits__=api_shim.core.handlers-module.html#__credits__,Variable api_shim.core.http.__credits__=api_shim.core.http-module.html#__credits__,Variable api_shim.core.javautils.__credits__=api_shim.core.javautils-module.html#__credits__,Variable api_shim.core.net.__credits__=api_shim.core.net-module.html#__credits__,Variable api_shim.core.parsetools.__credits__=api_shim.core.parsetools-module.html#__credits__,Variable api_shim.core.shared_data.__credits__=api_shim.core.shared_data-module.html#__credits__,Variable api_shim.core.sock_js.__credits__=api_shim.core.sock_js-module.html#__credits__,Variable api_shim.core.ssl_support.__credits__=api_shim.core.ssl_support-module.html#__credits__,Variable api_shim.core.streams.__credits__=api_shim.core.streams-module.html#__credits__,Variable api_shim.core.tcp_support.__credits__=api_shim.core.tcp_support-module.html#__credits__,Variable api_shim.vertx.__credits__=api_shim.vertx-module.html#__credits__"><a title="api_shim.core.buffer.__credits__
api_shim.core.event_bus.__credits__
api_shim.core.file_system.__credits__
api_shim.core.handlers.__credits__
api_shim.core.http.__credits__
api_shim.core.javautils.__credits__
api_shim.core.net.__credits__
api_shim.core.parsetools.__credits__
api_shim.core.shared_data.__credits__
api_shim.core.sock_js.__credits__
api_shim.core.ssl_support.__credits__
api_shim.core.streams.__credits__
api_shim.core.tcp_support.__credits__
api_shim.vertx.__credits__" class="py-name" href="#" onclick="return doclink('link-1', '__credits__', 'link-1');">__credits__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"Based entirely on work by Tim Fox http://tfox.org"</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport"></a><div id="TCPSupport-def"><a name="L19"></a><tt class="py-lineno"> 19</tt> <a class="py-toggle" href="#" id="TCPSupport-toggle" onclick="return toggle('TCPSupport');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html">TCPSupport</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="TCPSupport-expanded"><a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">  <tt class="py-docstring">""" Mixin module that provides all the common TCP params that can be set. """</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_tcp_no_delay"></a><div id="TCPSupport.set_tcp_no_delay-def"><a name="L22"></a><tt class="py-lineno"> 22</tt> <a class="py-toggle" href="#" id="TCPSupport.set_tcp_no_delay-toggle" onclick="return toggle('TCPSupport.set_tcp_no_delay');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_tcp_no_delay">set_tcp_no_delay</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_tcp_no_delay-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_tcp_no_delay-expanded"><a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">      <tt class="py-docstring">"""Enable TCP_NO_DELAY</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-docstring">      Keyword arguments:</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-docstring">      @param val: if true TCP_NO_DELAY will be enabled</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-docstring">      return a reference to self so invocations can be chained</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-docstring">      """</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">      <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setTCPNoDelay</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">      <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_tcp_no_delay"></a><div id="TCPSupport.get_tcp_no_delay-def"><a name="L33"></a><tt class="py-lineno"> 33</tt> <a class="py-toggle" href="#" id="TCPSupport.get_tcp_no_delay-toggle" onclick="return toggle('TCPSupport.get_tcp_no_delay');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_tcp_no_delay">get_tcp_no_delay</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_tcp_no_delay-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_tcp_no_delay-expanded"><a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">      <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getTCPNoDelay</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">;</tt> </tt>
</div><a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">  <tt id="link-2" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.tcp_no_delay=api_shim.core.tcp_support.TCPSupport-class.html#tcp_no_delay"><a title="api_shim.core.tcp_support.TCPSupport.tcp_no_delay" class="py-name" href="#" onclick="return doclink('link-2', 'tcp_no_delay', 'link-2');">tcp_no_delay</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-3" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_tcp_no_delay()=api_shim.core.tcp_support.TCPSupport-class.html#get_tcp_no_delay"><a title="api_shim.core.tcp_support.TCPSupport.get_tcp_no_delay" class="py-name" href="#" onclick="return doclink('link-3', 'get_tcp_no_delay', 'link-3');">get_tcp_no_delay</a></tt><tt class="py-op">,</tt> <tt id="link-4" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_tcp_no_delay()=api_shim.core.tcp_support.TCPSupport-class.html#set_tcp_no_delay"><a title="api_shim.core.tcp_support.TCPSupport.set_tcp_no_delay" class="py-name" href="#" onclick="return doclink('link-4', 'set_tcp_no_delay', 'link-4');">set_tcp_no_delay</a></tt><tt class="py-op">)</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_send_buffer_size"></a><div id="TCPSupport.set_send_buffer_size-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <a class="py-toggle" href="#" id="TCPSupport.set_send_buffer_size-toggle" onclick="return toggle('TCPSupport.set_send_buffer_size');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_send_buffer_size">set_send_buffer_size</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">bytes</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_send_buffer_size-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_send_buffer_size-expanded"><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the TCP send buffer size.</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt class="py-docstring">    @param bytes: The size in bytes.</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setSendBufferSize</tt><tt class="py-op">(</tt><tt class="py-name">bytes</tt><tt class="py-op">)</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_send_buffer_size"></a><div id="TCPSupport.get_send_buffer_size-def"><a name="L49"></a><tt class="py-lineno"> 49</tt> <a class="py-toggle" href="#" id="TCPSupport.get_send_buffer_size-toggle" onclick="return toggle('TCPSupport.get_send_buffer_size');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_send_buffer_size">get_send_buffer_size</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_send_buffer_size-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_send_buffer_size-expanded"><a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getSendBufferSize</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line"> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">  <tt id="link-5" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.send_buffer_size=api_shim.core.tcp_support.TCPSupport-class.html#send_buffer_size"><a title="api_shim.core.tcp_support.TCPSupport.send_buffer_size" class="py-name" href="#" onclick="return doclink('link-5', 'send_buffer_size', 'link-5');">send_buffer_size</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-6" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_send_buffer_size()=api_shim.core.tcp_support.TCPSupport-class.html#get_send_buffer_size"><a title="api_shim.core.tcp_support.TCPSupport.get_send_buffer_size" class="py-name" href="#" onclick="return doclink('link-6', 'get_send_buffer_size', 'link-6');">get_send_buffer_size</a></tt><tt class="py-op">,</tt> <tt id="link-7" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_send_buffer_size()=api_shim.core.tcp_support.TCPSupport-class.html#set_send_buffer_size"><a title="api_shim.core.tcp_support.TCPSupport.set_send_buffer_size" class="py-name" href="#" onclick="return doclink('link-7', 'set_send_buffer_size', 'link-7');">set_send_buffer_size</a></tt><tt class="py-op">)</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_receive_buffer_size"></a><div id="TCPSupport.set_receive_buffer_size-def"><a name="L54"></a><tt class="py-lineno"> 54</tt> <a class="py-toggle" href="#" id="TCPSupport.set_receive_buffer_size-toggle" onclick="return toggle('TCPSupport.set_receive_buffer_size');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_receive_buffer_size">set_receive_buffer_size</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">bytes</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_receive_buffer_size-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_receive_buffer_size-expanded"><a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the TCP receive buffer size.</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"><tt class="py-docstring">    @param bytes: The size in bytes.</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"><tt class="py-docstring">  </tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setReceiveBufferSize</tt><tt class="py-op">(</tt><tt class="py-name">bytes</tt><tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_receive_buffer_size"></a><div id="TCPSupport.get_receive_buffer_size-def"><a name="L65"></a><tt class="py-lineno"> 65</tt> <a class="py-toggle" href="#" id="TCPSupport.get_receive_buffer_size-toggle" onclick="return toggle('TCPSupport.get_receive_buffer_size');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_receive_buffer_size">get_receive_buffer_size</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_receive_buffer_size-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_receive_buffer_size-expanded"><a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getReceiveBufferSize</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">  <tt id="link-8" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.receive_buffer_size=api_shim.core.tcp_support.TCPSupport-class.html#receive_buffer_size"><a title="api_shim.core.tcp_support.TCPSupport.receive_buffer_size" class="py-name" href="#" onclick="return doclink('link-8', 'receive_buffer_size', 'link-8');">receive_buffer_size</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_receive_buffer_size()=api_shim.core.tcp_support.TCPSupport-class.html#get_receive_buffer_size"><a title="api_shim.core.tcp_support.TCPSupport.get_receive_buffer_size" class="py-name" href="#" onclick="return doclink('link-9', 'get_receive_buffer_size', 'link-9');">get_receive_buffer_size</a></tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_receive_buffer_size()=api_shim.core.tcp_support.TCPSupport-class.html#set_receive_buffer_size"><a title="api_shim.core.tcp_support.TCPSupport.set_receive_buffer_size" class="py-name" href="#" onclick="return doclink('link-10', 'set_receive_buffer_size', 'link-10');">set_receive_buffer_size</a></tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_tcp_keep_alive"></a><div id="TCPSupport.set_tcp_keep_alive-def"><a name="L70"></a><tt class="py-lineno"> 70</tt> <a class="py-toggle" href="#" id="TCPSupport.set_tcp_keep_alive-toggle" onclick="return toggle('TCPSupport.set_tcp_keep_alive');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_tcp_keep_alive">set_tcp_keep_alive</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_tcp_keep_alive-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_tcp_keep_alive-expanded"><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the TCP keep alive setting.</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"><tt class="py-docstring">    @param val: If true, then TCP keep alive will be enabled.</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setTCPKeepAlive</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_tcp_keep_alive"></a><div id="TCPSupport.get_tcp_keep_alive-def"><a name="L81"></a><tt class="py-lineno"> 81</tt> <a class="py-toggle" href="#" id="TCPSupport.get_tcp_keep_alive-toggle" onclick="return toggle('TCPSupport.get_tcp_keep_alive');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_tcp_keep_alive">get_tcp_keep_alive</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_tcp_keep_alive-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_tcp_keep_alive-expanded"><a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getTCPKeepAlive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line"> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">  <tt id="link-11" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.tcp_keep_alive=api_shim.core.tcp_support.TCPSupport-class.html#tcp_keep_alive"><a title="api_shim.core.tcp_support.TCPSupport.tcp_keep_alive" class="py-name" href="#" onclick="return doclink('link-11', 'tcp_keep_alive', 'link-11');">tcp_keep_alive</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-12" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_tcp_keep_alive()=api_shim.core.tcp_support.TCPSupport-class.html#get_tcp_keep_alive"><a title="api_shim.core.tcp_support.TCPSupport.get_tcp_keep_alive" class="py-name" href="#" onclick="return doclink('link-12', 'get_tcp_keep_alive', 'link-12');">get_tcp_keep_alive</a></tt><tt class="py-op">,</tt> <tt id="link-13" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_tcp_keep_alive()=api_shim.core.tcp_support.TCPSupport-class.html#set_tcp_keep_alive"><a title="api_shim.core.tcp_support.TCPSupport.set_tcp_keep_alive" class="py-name" href="#" onclick="return doclink('link-13', 'set_tcp_keep_alive', 'link-13');">set_tcp_keep_alive</a></tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_reuse_address"></a><div id="TCPSupport.set_reuse_address-def"><a name="L86"></a><tt class="py-lineno"> 86</tt> <a class="py-toggle" href="#" id="TCPSupport.set_reuse_address-toggle" onclick="return toggle('TCPSupport.set_reuse_address');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_reuse_address">set_reuse_address</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_reuse_address-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_reuse_address-expanded"><a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the TCP reuse address setting.</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt class="py-docstring">    @param val: If true, then TCP reuse address will be enabled.</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"><tt class="py-docstring">    @return: a reference to self so invocations can be chained</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setReuseAddress</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_reuse_address"></a><div id="TCPSupport.get_reuse_address-def"><a name="L96"></a><tt class="py-lineno"> 96</tt> <a class="py-toggle" href="#" id="TCPSupport.get_reuse_address-toggle" onclick="return toggle('TCPSupport.get_reuse_address');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_reuse_address">get_reuse_address</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_reuse_address-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_reuse_address-expanded"><a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getReuseAddress</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">  <tt id="link-14" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.reuse_address=api_shim.core.tcp_support.TCPSupport-class.html#reuse_address"><a title="api_shim.core.tcp_support.TCPSupport.reuse_address" class="py-name" href="#" onclick="return doclink('link-14', 'reuse_address', 'link-14');">reuse_address</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-15" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_reuse_address()=api_shim.core.tcp_support.TCPSupport-class.html#get_reuse_address"><a title="api_shim.core.tcp_support.TCPSupport.get_reuse_address" class="py-name" href="#" onclick="return doclink('link-15', 'get_reuse_address', 'link-15');">get_reuse_address</a></tt><tt class="py-op">,</tt> <tt id="link-16" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_reuse_address()=api_shim.core.tcp_support.TCPSupport-class.html#set_reuse_address"><a title="api_shim.core.tcp_support.TCPSupport.set_reuse_address" class="py-name" href="#" onclick="return doclink('link-16', 'set_reuse_address', 'link-16');">set_reuse_address</a></tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_so_linger"></a><div id="TCPSupport.set_so_linger-def"><a name="L101"></a><tt class="py-lineno">101</tt> <a class="py-toggle" href="#" id="TCPSupport.set_so_linger-toggle" onclick="return toggle('TCPSupport.set_so_linger');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_so_linger">set_so_linger</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_so_linger-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_so_linger-expanded"><a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the TCP so linger setting.</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"><tt class="py-docstring">    @param val: If true, then TCP so linger will be enabled.</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setSoLinger</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_so_linger"></a><div id="TCPSupport.get_so_linger-def"><a name="L112"></a><tt class="py-lineno">112</tt> <a class="py-toggle" href="#" id="TCPSupport.get_so_linger-toggle" onclick="return toggle('TCPSupport.get_so_linger');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_so_linger">get_so_linger</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_so_linger-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_so_linger-expanded"><a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getSoLinger</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">  <tt id="link-17" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.so_linger=api_shim.core.tcp_support.TCPSupport-class.html#so_linger"><a title="api_shim.core.tcp_support.TCPSupport.so_linger" class="py-name" href="#" onclick="return doclink('link-17', 'so_linger', 'link-17');">so_linger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-18" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_so_linger()=api_shim.core.tcp_support.TCPSupport-class.html#get_so_linger"><a title="api_shim.core.tcp_support.TCPSupport.get_so_linger" class="py-name" href="#" onclick="return doclink('link-18', 'get_so_linger', 'link-18');">get_so_linger</a></tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_so_linger()=api_shim.core.tcp_support.TCPSupport-class.html#set_so_linger"><a title="api_shim.core.tcp_support.TCPSupport.set_so_linger" class="py-name" href="#" onclick="return doclink('link-19', 'set_so_linger', 'link-19');">set_so_linger</a></tt><tt class="py-op">)</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_traffic_class"></a><div id="TCPSupport.set_traffic_class-def"><a name="L117"></a><tt class="py-lineno">117</tt> <a class="py-toggle" href="#" id="TCPSupport.set_traffic_class-toggle" onclick="return toggle('TCPSupport.set_traffic_class');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_traffic_class">set_traffic_class</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_traffic_class-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_traffic_class-expanded"><a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the TCP traffic class setting.</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"><tt class="py-docstring">    @param val: The TCP traffic class setting.</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setTrafficClass</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_traffic_class"></a><div id="TCPSupport.get_traffic_class-def"><a name="L128"></a><tt class="py-lineno">128</tt> <a class="py-toggle" href="#" id="TCPSupport.get_traffic_class-toggle" onclick="return toggle('TCPSupport.get_traffic_class');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_traffic_class">get_traffic_class</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_traffic_class-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_traffic_class-expanded"><a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getTrafficClass</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">  <tt id="link-20" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.traffic_class=api_shim.core.tcp_support.TCPSupport-class.html#traffic_class"><a title="api_shim.core.tcp_support.TCPSupport.traffic_class" class="py-name" href="#" onclick="return doclink('link-20', 'traffic_class', 'link-20');">traffic_class</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-21" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_traffic_class()=api_shim.core.tcp_support.TCPSupport-class.html#get_traffic_class"><a title="api_shim.core.tcp_support.TCPSupport.get_traffic_class" class="py-name" href="#" onclick="return doclink('link-21', 'get_traffic_class', 'link-21');">get_traffic_class</a></tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_traffic_class()=api_shim.core.tcp_support.TCPSupport-class.html#set_traffic_class"><a title="api_shim.core.tcp_support.TCPSupport.set_traffic_class" class="py-name" href="#" onclick="return doclink('link-22', 'set_traffic_class', 'link-22');">set_traffic_class</a></tt><tt class="py-op">)</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.set_use_pooled_buffers"></a><div id="TCPSupport.set_use_pooled_buffers-def"><a name="L133"></a><tt class="py-lineno">133</tt> <a class="py-toggle" href="#" id="TCPSupport.set_use_pooled_buffers-toggle" onclick="return toggle('TCPSupport.set_use_pooled_buffers');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#set_use_pooled_buffers">set_use_pooled_buffers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.set_use_pooled_buffers-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.set_use_pooled_buffers-expanded"><a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set if vert.x should use pooled buffers for performance reasons.</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line"><tt class="py-docstring">    Doing so will give the best throughput but may need a bit higher memory footprint.</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line"><tt class="py-docstring">    @param val: if true pooled buffers will be used.</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setUsePooledBuffers</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line"> </tt>
<a name="TCPSupport.get_use_pooled_buffers"></a><div id="TCPSupport.get_use_pooled_buffers-def"><a name="L145"></a><tt class="py-lineno">145</tt> <a class="py-toggle" href="#" id="TCPSupport.get_use_pooled_buffers-toggle" onclick="return toggle('TCPSupport.get_use_pooled_buffers');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.TCPSupport-class.html#get_use_pooled_buffers">get_use_pooled_buffers</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TCPSupport.get_use_pooled_buffers-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="TCPSupport.get_use_pooled_buffers-expanded"><a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getUsePooledBuffers</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line"> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">  <tt id="link-23" class="py-name" targets="Variable api_shim.core.tcp_support.TCPSupport.use_pooled_buffers=api_shim.core.tcp_support.TCPSupport-class.html#use_pooled_buffers"><a title="api_shim.core.tcp_support.TCPSupport.use_pooled_buffers" class="py-name" href="#" onclick="return doclink('link-23', 'use_pooled_buffers', 'link-23');">use_pooled_buffers</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-24" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.get_use_pooled_buffers()=api_shim.core.tcp_support.TCPSupport-class.html#get_use_pooled_buffers"><a title="api_shim.core.tcp_support.TCPSupport.get_use_pooled_buffers" class="py-name" href="#" onclick="return doclink('link-24', 'get_use_pooled_buffers', 'link-24');">get_use_pooled_buffers</a></tt><tt class="py-op">,</tt> <tt id="link-25" class="py-name" targets="Method api_shim.core.tcp_support.TCPSupport.set_use_pooled_buffers()=api_shim.core.tcp_support.TCPSupport-class.html#set_use_pooled_buffers"><a title="api_shim.core.tcp_support.TCPSupport.set_use_pooled_buffers" class="py-name" href="#" onclick="return doclink('link-25', 'set_use_pooled_buffers', 'link-25');">set_use_pooled_buffers</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"> </tt>
<a name="ServerTCPSupport"></a><div id="ServerTCPSupport-def"><a name="L150"></a><tt class="py-lineno">150</tt> <a class="py-toggle" href="#" id="ServerTCPSupport-toggle" onclick="return toggle('ServerTCPSupport');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="api_shim.core.tcp_support.ServerTCPSupport-class.html">ServerTCPSupport</a><tt class="py-op">(</tt><tt class="py-base-class">TCPSupport</tt><tt class="py-op">,</tt> <tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServerTCPSupport-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ServerTCPSupport-expanded"><a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"> </tt>
<a name="ServerTCPSupport.set_accept_backlog"></a><div id="ServerTCPSupport.set_accept_backlog-def"><a name="L152"></a><tt class="py-lineno">152</tt> <a class="py-toggle" href="#" id="ServerTCPSupport.set_accept_backlog-toggle" onclick="return toggle('ServerTCPSupport.set_accept_backlog');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.ServerTCPSupport-class.html#set_accept_backlog">set_accept_backlog</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">val</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServerTCPSupport.set_accept_backlog-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="ServerTCPSupport.set_accept_backlog-expanded"><a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">    <tt class="py-docstring">"""Set the accept backlog</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt class="py-docstring">    Keyword arguments:</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line"><tt class="py-docstring">    @param val: set the accept backlog to the value</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"><tt class="py-docstring">    return a reference to self so invocations can be chained</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">setAcceptBacklog</tt><tt class="py-op">(</tt><tt class="py-name">val</tt><tt class="py-op">)</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt> </tt>
</div><a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"> </tt>
<a name="ServerTCPSupport.get_accept_backlog"></a><div id="ServerTCPSupport.get_accept_backlog-def"><a name="L163"></a><tt class="py-lineno">163</tt> <a class="py-toggle" href="#" id="ServerTCPSupport.get_accept_backlog-toggle" onclick="return toggle('ServerTCPSupport.get_accept_backlog');">-</a><tt class="py-line">  <tt class="py-keyword">def</tt> <a class="py-def-name" href="api_shim.core.tcp_support.ServerTCPSupport-class.html#get_accept_backlog">get_accept_backlog</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServerTCPSupport.get_accept_backlog-collapsed" style="display:none;" pad="+++" indent="++++++"></div><div id="ServerTCPSupport.get_accept_backlog-expanded"><a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">java_obj</tt><tt class="py-op">.</tt><tt class="py-name">getAcceptBacklog</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line"> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">  <tt id="link-26" class="py-name" targets="Variable api_shim.core.tcp_support.ServerTCPSupport.accept_backlog=api_shim.core.tcp_support.ServerTCPSupport-class.html#accept_backlog"><a title="api_shim.core.tcp_support.ServerTCPSupport.accept_backlog" class="py-name" href="#" onclick="return doclink('link-26', 'accept_backlog', 'link-26');">accept_backlog</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-27" class="py-name" targets="Method api_shim.core.tcp_support.ServerTCPSupport.get_accept_backlog()=api_shim.core.tcp_support.ServerTCPSupport-class.html#get_accept_backlog"><a title="api_shim.core.tcp_support.ServerTCPSupport.get_accept_backlog" class="py-name" href="#" onclick="return doclink('link-27', 'get_accept_backlog', 'link-27');">get_accept_backlog</a></tt><tt class="py-op">,</tt> <tt id="link-28" class="py-name" targets="Method api_shim.core.tcp_support.ServerTCPSupport.set_accept_backlog()=api_shim.core.tcp_support.ServerTCPSupport-class.html#set_accept_backlog"><a title="api_shim.core.tcp_support.ServerTCPSupport.set_accept_backlog" class="py-name" href="#" onclick="return doclink('link-28', 'set_accept_backlog', 'link-28');">set_accept_backlog</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Wed Jul 17 20:25:01 2013
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>